<?php
/**
 * 会员模型
 *
 * @author karl <karl.tang@aiyuangong.com>
 * @link http://www.aiyuangong.com
 */

//------------------------
// 用户模型
//-------------------------

namespace app\admin\model;

use think\Model;

class Member extends Model
{
    //protected $name = 'member';
    public function getMember($field, $where)
    {
        return $this->field($field)->where($where)->find();
    }
}